package com.data.model;

import java.sql.Timestamp;

/**
 * PlayerDiankong entity. @author MyEclipse Persistence Tools
 */

public class PlayerDiankong implements java.io.Serializable {

	// Fields

	private Long id;
	private Long playerId;
	private Long targetFen;
	private Integer isFinish;
	private Long finishFen;
	private Float dianKongRate;
	private Timestamp createTime;
	private Timestamp finishTime;
	private Integer isInWork;

	// Constructors

	/** default constructor */
	public PlayerDiankong() {
	}

	/** minimal constructor */
	public PlayerDiankong(Long playerId, Long targetFen, Integer isFinish, Long finishFen, Float dianKongRate, Timestamp createTime, Integer isInWork) {
		this.playerId = playerId;
		this.targetFen = targetFen;
		this.isFinish = isFinish;
		this.finishFen = finishFen;
		this.dianKongRate = dianKongRate;
		this.createTime = createTime;
		this.isInWork = isInWork;
	}

	/** full constructor */
	public PlayerDiankong(Long playerId, Long targetFen, Integer isFinish, Long finishFen, Float dianKongRate, Timestamp createTime, Timestamp finishTime,
			Integer isInWork) {
		this.playerId = playerId;
		this.targetFen = targetFen;
		this.isFinish = isFinish;
		this.finishFen = finishFen;
		this.dianKongRate = dianKongRate;
		this.createTime = createTime;
		this.finishTime = finishTime;
		this.isInWork = isInWork;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPlayerId() {
		return this.playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public Long getTargetFen() {
		return this.targetFen;
	}

	public void setTargetFen(Long targetFen) {
		this.targetFen = targetFen;
	}

	public Integer getIsFinish() {
		return this.isFinish;
	}

	public void setIsFinish(Integer isFinish) {
		this.isFinish = isFinish;
	}

	public Long getFinishFen() {
		return this.finishFen;
	}

	public void setFinishFen(Long finishFen) {
		this.finishFen = finishFen;
	}

	public Float getDianKongRate() {
		return this.dianKongRate;
	}

	public void setDianKongRate(Float dianKongRate) {
		this.dianKongRate = dianKongRate;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getFinishTime() {
		return this.finishTime;
	}

	public void setFinishTime(Timestamp finishTime) {
		this.finishTime = finishTime;
	}

	public Integer getIsInWork() {
		return this.isInWork;
	}

	public void setIsInWork(Integer isInWork) {
		this.isInWork = isInWork;
	}

}